github.com/gotd/td/internal/crypto.Cipher.encryptMessage (method)

2 uses

	github.com/gotd/td/internal/crypto (current package)
		cipher_encrypt.go#L15: func (c Cipher) encryptMessage(k AuthKey, plaintext *bin.Buffer) (EncryptedMessage, error) {
		cipher_encrypt.go#L44: 	msg, err := c.encryptMessage(key, b)